package c2c.service.impl;

import javax.annotation.Resource;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import c2c.dao.UserDao;
import c2c.entity.user.User;
import c2c.service.UserService;


@Service("userService")
public class UserServiceImpl extends BaseServiceImpl implements UserService {
	@Resource(name="userDao")
	private UserDao<User> userDao;
	public void add(User user){
		userDao.save(user);
     }
}
